   {% extends "home.htm" %}

		{% block title %}
		Login - Cookland - La terra dei palati Raffinati
		{% endblock %}

{% block login %}{% endblock %}

	{% block content %}
        {{ error }}
        {% if form.has_errors %}
<p>Attenzione: Username o Password errati! Riprova.</p>
{% endif %}
		<form name="Registrazione" action="/account/login/" method="Post">
			<table>
				<tr>  
					<td> 
						Username
					</td>
					<td> 
						<input type="text" name="username">
					</td>
				</tr>	
				<tr>  
					<td> 
						Password
					</td>
					<td> 
						<input type="password" name="password">
					</td>
				</tr>
				<tr>  
					<td colspan="2" align="center"> 
						<input id="button" type="submit" value="Entra">
					</td>
				</tr>				
			</table>
            <input type="hidden" name="next" value="{{ next }}">
		</form>
		{% endblock %}
